ExamPlay Light Logo
Logga in

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 6 - No. 22)

Which loop structure is best used when the number of iterations is known before the loop starts?
REPEAT ... UNTIL
WHILE ... DO ... ENDWHILE
FOR ... TO ... NEXT
IF ... THEN ... ELSE ... ENDIF

Förklaring

The FOR loop is specifically designed for iterating a predetermined number of times.

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc